﻿
#include "LineTempFactGroup.h"

const char* LineTempFactGroup::idFactName_            = "id";
const char* LineTempFactGroup::lineTempFactName_      = "lineTemp";
const char* LineTempFactGroup::factorFactName_        = "factor";
const char* LineTempFactGroup::currentFactName_       = "current";
const char* LineTempFactGroup::errorCodeFactName_     = "errorCode";
const char* LineTempFactGroup::describeInfoFactName_  = "describeInfo";

LineTempFactGroup::LineTempFactGroup(QObject *parent)
    : FactGroup(parent)
    , id_(idFactName_,Fact::valueTypeString)
    , lineTemp_(lineTempFactName_,Fact::valueTypeDouble)
    , factor_(factorFactName_,Fact::valueTypeDouble)
    , current_(currentFactName_,Fact::valueTypeDouble)
    , errorCode_(errorCodeFactName_ ,Fact::valueTypeBool)
    , describeInfo_(describeInfoFactName_,Fact::valueTypeString)
{
    addFact(&id_);
    addFact(&lineTemp_);
    addFact(&factor_);
    addFact(&current_);
    addFact(&errorCode_);
    addFact(&describeInfo_);
}

